#define GLUT_DISABLE_ATEXIT_HACK
/*
 * AnimeNonotte.cpp
 *
 *  Created on: 4 janv. 2012
 *      Author: Ben
 */

#include "AnimeNonotte.h"

AnimeNonotte::AnimeNonotte(Nono *nonotte):AnimeNono(nonotte)
{

}

void AnimeNonotte::clavier()
{
	switch (Clavier::Instance().getTouche())
		{
		case 'T':
			descendreBras();
			break;
		case 't':
			monterBras();
			break;
		case 'Z':
			deplacer(0.1);
			break;
		case 'S':
			deplacer(-0.1);
			break;
		case 'A':
			tourner(-0.009);
			break;
		case 'E':
			tourner(0.009);
			break;
		case 'i':
			_nono->laser();
			break;
		case 'I':
			_nono->notLaser();
			break;
		}
}

AnimeNonotte::~AnimeNonotte()
{
}

